-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat(scan): scan time.Time sets the default decoding #2413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…coding by default Signed-off-by: monkey92t <[email protected]>
Could you elaborate? I don't see why it should not work... |
Oh..it my test error, my mistake, I recover it. |
Signed-off-by: monkey92t <[email protected]>
hgetall with Scan command doesn't work if there is time.Time field in the struct and it leads to erratic behaviour like not retrieving every field from the hashset |
Signed-off-by: monkey92t <[email protected]>
We can directly assert that the |
That would remove the use of Scan. Which is more reliant |
Signed-off-by: monkey92t <[email protected]>
hset struct field can assert the |
We should achieve the consistency of Write(Hset Scan) and Read(HMGet Scan):
switch case encoding.BinaryMarshaler
is invalid